package com.gpframework.module.wages.mapper;

import com.gpframework.module.wages.domain.GzWarehousePersonnel;
import com.gpframework.module.wages.domain.vo.GzWarehousePersonnelVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gpframework.module.wages.domain.vo.SalarySummaryVo;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

import java.util.Date;
import java.util.List;
/**
 * @ClassName GzWarehousePersonnel
 * @Author gpframework
 * @Date 2024-01-22
 * @Version 1.0.0
 * @Description 仓库工资条Mapper接口
 */
public interface GzWarehousePersonnelMapper extends BaseMapper<GzWarehousePersonnel> {

    /**
    * 列表
    * @param lqw
    * @return
    */
    List<GzWarehousePersonnelVo> listVo(@Param("ew") QueryWrapper<GzWarehousePersonnel> lqw);

    /**
    * 对象
    * @param id
    * @return
    */
    GzWarehousePersonnelVo getVo(@Param("id")Long id);

    List<SalarySummaryVo> list(@Param("month") String month, @Param("deptName") String deptName);

    void delelteMonth(@Param("month") Date month);

    List<GzWarehousePersonnelVo> listStatistics(@Param("ew") QueryWrapper<GzWarehousePersonnel> lqw);
}
